package top.fengyulou.xiaofeng.mapper;

import top.fengyulou.xiaofeng.domain.ExamPaper;
import top.fengyulou.xiaofeng.domain.Paper;
import top.fengyulou.xiaofeng.dto.ExamPaperDto;
import top.fengyulou.xiaofeng.dto.PaperDto;

import java.util.List;

public interface ExamPaperMapper {
    List<PaperDto> list(PaperDto paperDto);

    PaperDto getById(String id);

    void insertBatch(List<ExamPaper> list);

    void delete(String[] ids);

    void deleteByExamIds(String[] examIds);

    Long countByExamId(String examId);

    List<String> getPaperIdListByExamId(String examId);

    void updateMarkingNum(ExamPaperDto examPaperDto);

    List<PaperDto> userPaperListPage(PaperDto paperDto);
}